﻿using Entity;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;

namespace WebApplication1.Controllers
{
    [Route("api/[controller]")]
    [ApiController]
    public class UserController : ControllerBase
    {
        private readonly APIDbContext _Db;
        public UserController(APIDbContext context)
        {
            _Db = context;
        }

        //[HttpGet]
        //public List<User> GetUser()
        //{
        //    return _Db.User.ToList();
        //}
    }
}
